package com.zerocarbon.framework.common.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 基础DTO
 * @author wyf  2020年5月31日
 */
@Getter
@Setter
public abstract class BaseDTO implements Serializable {
	
	private static final long serialVersionUID = 3346970458102313303L;

	@NotBlank(message = "appKey不能为空")
	private String appKey;
	
	@NotNull(message = "时间戳不能为空")
    private Long timestamp;
    
	@NotBlank(message = "签名不能为空")
    private String sign;
	
    //private String version	= "1.0";				//版本号，标识APP版本
}
